package com.lanswon.dao;

import java.util.List;

import com.lanswon.entity.SearchHotVO;

public interface SearchHotMapper {
	int deleteByPrimaryKey(Long searchId);

	int insert(SearchHotVO record);

	int insertSelective(SearchHotVO record);

	SearchHotVO selectByPrimaryKey(Long searchId);

	int updateByPrimaryKeySelective(SearchHotVO record);

	int updateByPrimaryKey(SearchHotVO record);

	List<SearchHotVO> searchLike(String searchContent);

	List<SearchHotVO> getOrder();

	void backStatus();

	List<SearchHotVO> load(int pageindex, Integer limit);

	int count();

	List<SearchHotVO> loadByCondition(int pageindex, Integer limit, String type, String content);

	int countByCondition(String type, String content);

}